GET api/SIMS/GetStockLocationInfo?stockCodes[0]={stockCodes[0]}&stockCodes[1]={stockCodes[1]}&companyKey={companyKey}
Gets the quantity per location of the stock code(s) specified. If no stock codes are specified, the quantities per location of all stock cards are returned.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockCodes |
A list of stock codes (Optional) |
Collection of string |
Required |
| companyKey |
The company name if the service is connected to multiple SIMS companies (Optional) |
string |
Default value is |
Body Parameters
N/A
Response Information
Resource Description
The quantity
Collection of StockLocationInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| StockCode | string |
N/A |
|
| Description | string |
N/A |
|
| Location | string |
N/A |
|
| LocationName | string |
N/A |
|
| LocationQuantity | decimal number |
N/A |
|
| StockQuantity | decimal number |
N/A |
Response Formats
application/json, text/json
Sample:
[
{
"StockCode": "sample string 1",
"Description": "sample string 2",
"Location": "sample string 3",
"LocationName": "sample string 4",
"LocationQuantity": 5.0,
"StockQuantity": 6.0
},
{
"StockCode": "sample string 1",
"Description": "sample string 2",
"Location": "sample string 3",
"LocationName": "sample string 4",
"LocationQuantity": 5.0,
"StockQuantity": 6.0
}
]